package com.jeesite.modules.stock.entity;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;

@Table(name="user_stocks", alias="a", label="自选股", columns={
		@Column(name="id", attrName="id", label="主键", isPK=true),
		@Column(name="stock_code", attrName="stockCode", label="股票代码", isQuery=true),
		@Column(name="stock_name", attrName="stockName", label="股票名称", isQuery=true),
		@Column(name="page_id", attrName="pageId", label="页面id", isQuery=true),
		@Column(name="page_name", attrName="pageName", label="页面名称", isQuery=true),
		@Column(name="user_id", attrName="userId", label="用户id", isQuery=true),
		@Column(name="create_date", attrName="createDate", label="创建时间", isQuery = false),
		@Column(name="update_date", attrName="updateDate", label="更新时间", isQuery = false),
	}
)
public class UserStockEntity extends DataEntity<UserStockEntity> {

	private static final long serialVersionUID = 1L;

	private String stockCode;
	
	private String stockName;
	
	private String pageId;
	
	private String pageName;
	
	private String userId;

	public String getStockCode() {
		return stockCode;
	}

	public void setStockCode(String stockCode) {
		this.stockCode = stockCode;
	}

	public String getPageName() {
		return pageName;
	}

	public void setPageName(String pageName) {
		this.pageName = pageName;
	}

	public String getPageId() {
		return pageId;
	}

	public void setPageId(String pageId) {
		this.pageId = pageId;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getStockName() {
		return stockName;
	}

	public void setStockName(String stockName) {
		this.stockName = stockName;
	}
}
